<?php
/* 
 * ebiz front
 * 
 * login View
 * 
 * @author allen
 * 
 */
?>
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
<html xmlns='http://www.w3.org/1999/xhtml'>
    <head>
        <meta content='text/html; charset=utf-8' http-equiv='Content-Type' />
        <title>阿基米米用户登录-阿基米米网上商城</title>
        <script type='text/javascript' language='javascript' src='//<?php echo ConfigConstants::$iConstants.".".DOMAIN; ?>/n/javascript/lib/jquery.js'></script>
        <script type='text/javascript' language='javascript' src='//<?php echo ConfigConstants::$iConstants.".".DOMAIN; ?>/n/javascript/frontend.js'></script>
        <script type='text/javascript' language='javascript' src='//<?php echo ConfigConstants::$iConstants.".".DOMAIN; ?>/t/<?php echo $config['template_name']; ?>/javascript/akimimi.js'></script>
        <script type='text/javascript' language='javascript' src='//<?php echo ConfigConstants::$iConstants.".".DOMAIN; ?>/t/<?php echo $config['template_name']; ?>/javascript/login.js'></script>
        <link href='//<?php echo ConfigConstants::$iConstants.".".DOMAIN; ?>/t/<?php echo $config ['template_name']; ?>/css/register_login.css' rel='stylesheet' type='text/css' />
        <link href='//<?php echo ConfigConstants::$iConstants.".".DOMAIN; ?>/t/<?php echo $config ['template_name']; ?>/css/headerAndFooter.css' rel='stylesheet' type='text/css' />
        <link rel="shortcut icon" href="<?php echo ConfigConstants::getTImagePath();?>/favicon.ico"></link>
    </head>
    <body>
        <?php 
            require_once '../app/views/HeaderView.php';
            echo HeaderView::getCommonHeaderView();
        ?>
        <div id="login_body">        
            <input type="hidden" id="errorEmailEmpty" value="<?php echo LOGINEMAILEMPTY; ?>" />
            <input type="hidden" id="errorEmailError" value="<?php echo LOGINEMAILERROR; ?>" />
        
            <input type="hidden" id="errorPasswordEmpty" value="<?php echo LOGINPASSWORDEMPTY; ?>" />
        
            <input type="hidden" id="errorCaptchaEmpty" value="<?php echo CAPTCHAEMPTY; ?>" />
            <input type="hidden" id="errorCaptchaError" value="<?php echo CAPTCHAERROR; ?>" />
        
            <input type="hidden" id="errorLoginError" value="<?php echo SUBMITLOGINERROR; ?>" />
            
            <div id="navigation"><?php echo YOURCURPOSITION.COLON;?><span><?php echo SUBMITLOGIN;?></span></div>
	        <div id="login_title">
    	        <div class="login_font"><span><?php echo USERLOGIN; ?></span></div>
                <div class="login_font"><?php echo PROMPTLOGININFO; ?></div>
            </div>
            
            <div id="login_middle">
    	        <div class="login_m_left">
                    <form action="" method="post" id="loginForm" onsubmit="javascript:return Login.loginSubmit();">
        	            <div class="loing_errot_label" id="errorLabel"></div>
        	            <div class="loing_mtr">
            	             <ul>
                	             <li class="title"><?php echo EMAILLBL.COLON;?></li>
                                 <li class="text"><input type="text"  class="input2" id="email1" name="email" /></li>
                                 <li class="label" style="cursor:pointer;" onclick="UtilFunction.gotoUrl('/u/register')"><?php echo NEWUSERREG;?></li>
                             </ul>
                         </div>
                         <div class="loing_mtr">
            	             <ul>
                	             <li class="title"><?php echo PASSWORD.COLON; ?></li>
                                 <li class="text"><input type="password"  class="input2" id="password1" name="password" /></li>
                                 <li class="label" style="cursor:pointer;" onclick="UtilFunction.gotoUrl('/u/findpassword')" ><?php echo FORGETPASSWORD;?></li>
                             </ul>
                         </div>
                         <div class="loing_mtr">
                             <ul>
                                <li class="title">&nbsp;</li>
                                <li class="text" style="margin-left:5px;">
                                    <span id="captchaImg1" style="float:left;"><?php echo $captchaImg; ?></span><span style="float:left;" ><a href="javascript:void(0);" onclick="Login.changeCaptcha();"><?php echo CAPTCHACHANGE; ?></a></span>
                               </li>
                             </ul>
                        </div>
                  
                        <div class="loing_mtr" style="margin-top:5px;">
                             <ul>
                                 <li class="title"><?php echo CAPTCHA.COLON; ?></li>
                                 <li class="text">
                                    <input type="text" class="input2"  id="captcha1" name="captcha"/>
                                    
                                </li>
                            </ul>
                       </div>
                         <div class="loing_button"><input type="image" src="<?php echo ConfigConstants::getTImagePath().'/login_10.jpg';?>" onclick="javascript:Login.loginSubmit();"  /></div>
                    </form>            
               </div>
               <div class="loing_m_right" id="liuchao"></div>
           </div>
        <div class="bottom_img"><img src="<?php echo ConfigConstants::getTImagePath().'/login_14.gif';?>" alt="" /></div>
     </div>
     <?php 
         require_once '../app/views/FooterView.php';
         echo FooterView::getCommonFooterView();
     ?>   
           
    </body>
</html>

